class ChangeNormsFloatToDecimal < ActiveRecord::Migration
  def self.up
    change_column :norms, :specimen_avg, :decimal, :precision => 8, :scale => 3
    change_column :norms, :specimen_standard_deviation, :decimal, :precision => 8, :scale => 3
  end

  def self.down
    change_column :norms, :specimen_avg, :float
    change_column :norms, :specimen_standard_deviation, :float
  end
end
